Rename Object to FileUpload; use native Postgres $n placeholders.
This commit is contained in:
@@ -296,7 +296,7 @@ type fakeBlob struct {
|
||||
|
||||
func (f *fakeBlob) Enabled() bool { return true }
|
||||
|
||||
func (f *fakeBlob) Upload(_ context.Context, obj blob.Object) (string, error) {
|
||||
func (f *fakeBlob) Upload(_ context.Context, obj blob.FileUpload) (string, error) {
|
||||
f.calls++
|
||||
f.last = obj.Key
|
||||
return "https://cdn.example.com/" + obj.Key, nil
|
||||
|
||||
Reference in New Issue
Block a user