mirror of
https://github.com/saltbo/zpan.git
synced 2026-08-30 17:50:07 +08:00
fix(e2e): update storage with PATCH
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ setup('seed admin and storage', async () => {
|
||||
|
||||
const existing = storages[0]
|
||||
if (existing) {
|
||||
const resp = await request.put(`/api/site/storages/${existing.id}`, {
|
||||
const resp = await request.patch(`/api/site/storages/${existing.id}`, {
|
||||
headers,
|
||||
data: storageConfig,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user