mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
updated console sdk signature
This commit is contained in:
@@ -53,7 +53,7 @@ class Update extends PlatformAction
|
||||
name: 'update',
|
||||
desc: 'Update presence',
|
||||
description: '/docs/references/presences/update.md',
|
||||
auth: [AuthType::SESSION],
|
||||
auth: [AuthType::SESSION, AuthType::ADMIN],
|
||||
responses: [
|
||||
new SDKResponse(
|
||||
code: Response::STATUS_CODE_OK,
|
||||
@@ -76,7 +76,7 @@ class Update extends PlatformAction
|
||||
name: 'updatePresence',
|
||||
desc: 'Update presence',
|
||||
description: '/docs/references/presences/update.md',
|
||||
auth: [AuthType::KEY, AuthType::JWT, AuthType::ADMIN],
|
||||
auth: [AuthType::KEY, AuthType::JWT],
|
||||
responses: [
|
||||
new SDKResponse(
|
||||
code: Response::STATUS_CODE_OK,
|
||||
|
||||
@@ -54,7 +54,7 @@ class Upsert extends PlatformAction
|
||||
name: 'upsert',
|
||||
desc: 'Upsert presence',
|
||||
description: '/docs/references/presences/upsert.md',
|
||||
auth: [AuthType::SESSION],
|
||||
auth: [AuthType::SESSION, AuthType::ADMIN],
|
||||
responses: [
|
||||
new SDKResponse(
|
||||
code: Response::STATUS_CODE_OK,
|
||||
@@ -76,7 +76,7 @@ class Upsert extends PlatformAction
|
||||
name: 'upsert',
|
||||
desc: 'Upsert presence',
|
||||
description: '/docs/references/presences/upsert.md',
|
||||
auth: [AuthType::KEY, AuthType::JWT, AuthType::ADMIN],
|
||||
auth: [AuthType::KEY, AuthType::JWT],
|
||||
responses: [
|
||||
new SDKResponse(
|
||||
code: Response::STATUS_CODE_OK,
|
||||
|
||||
Reference in New Issue
Block a user