mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #697] [MERGED] Converted PowerShell code to use Splatting, and newer PS7 parameters (where available) #1384
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1384
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/697
Author: @Natfan
Created: 4/5/2023
Status: ✅ Merged
Merged: 4/6/2023
Merged by: @binwiederhier
Base:
main← Head:patch-1📝 Commits (1)
c63ca95Converted PowerShell code to use Splatting, and newer PS7 parameters (where available)📊 Changes
1 file changed (+319 additions, -180 deletions)
View changed files
📝
docs/publish.md(+319 -180)📄 Description
Also removed the requirement for UseBasicParsing, as Invoke-RestMethod already converts XML/JSON to PSObjects as required.
More info on splatting: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_splatting
More info on Invoke-RestMethod: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.