We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e8a9f4 commit 1b3f73dCopy full SHA for 1b3f73d
http-device/task/api/api.js
@@ -110,7 +110,7 @@ module.exports.setDeviceProject = async function(deviceId, project) {
110
return axios({
111
method: 'put',
112
url: `/v1/users/${USER}/devices/${deviceId}/projects`,
113
- data: JSON.stringify([ project ])
+ data: [ `${USER}@${project}` ]
114
});
115
}
116
@@ -119,6 +119,6 @@ module.exports.setBucketProject = async function(bucketId, project) {
119
120
121
url: `/v1/users/${USER}/buckets/${deviceID}/projects`,
122
123
124
0 commit comments