@ornncompute/cli 1.0.302 → 1.0.303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -133,7 +133,7 @@ function listAvailabilityAlerts(request, id, signal) {
|
|
|
133
133
|
return request(`${personPath(id)}/availability-alerts`, { method: "GET", signal });
|
|
134
134
|
}
|
|
135
135
|
function setAvailabilityAlert(request, id, alert) {
|
|
136
|
-
return request(`${personPath(id)}/availability-alerts/${encodeURIComponent(alert.gpu_slug)}
|
|
136
|
+
return request(`${personPath(id)}/availability-alerts/${encodeURIComponent(alert.gpu_slug)}`, { method: "PUT", body: { enabled: alert.enabled } });
|
|
137
137
|
}
|
|
138
138
|
var personAvatarPath = (id) => `${personPath(id)}/avatar`;
|
|
139
139
|
var organizationAvatarPath = (id) => `${organizationPath(id)}/avatar`;
|