Skip to content

Commit b3c0341

Browse files
Merge pull request #384 from bakaphp/feat/branch-photo
fix: upload mutation
2 parents a31723d + db36ebd commit b3c0341

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.28.0",
2+
"version": "0.28.1",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",

src/modules/filesystem/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export class FileSystem {
295295

296296
const operations = {
297297
query: `mutation ($file: Upload!) {
298-
updateCompanyPhotoProfile(file: $file, id: "${branch_id}") { ${query} }
298+
updatePhotoProfileToCompanyBranch(file: $file, id: "${branch_id}") { ${query} }
299299
}`,
300300
variables: { file: null },
301301
};

0 commit comments

Comments
 (0)