mirror of
https://github.com/urbit/shrub.git
synced 2025-01-05 19:46:50 +03:00
Fix type failures in lib/twitter.hoon
The type failures were introduced by the parent merge.
This commit is contained in:
parent
d3711b53d9
commit
dc58574c0f
@ -6,7 +6,6 @@
|
||||
::
|
||||
:::: ~fyr
|
||||
::
|
||||
=< into-url
|
||||
|%
|
||||
++ parse-url
|
||||
|= a/$@(cord:purl purl) ^- purl
|
||||
|
@ -51,11 +51,16 @@
|
||||
::
|
||||
++ user-url
|
||||
|= a/scr ^- purf
|
||||
(url:interpolate "https://twitter.com/:scr" scr+a ~)
|
||||
:_ ~
|
||||
%^ into-url:interpolate 'https://twitter.com/:scr'
|
||||
~
|
||||
~[scr+a]
|
||||
::
|
||||
++ post-url
|
||||
|= {a/scr b/tid} ^- purf
|
||||
%+ url:interpolate "https://twitter.com/:scr/status/:tid"
|
||||
|= {a/scr b/tid} ^- purf
|
||||
:_ ~
|
||||
%^ into-url:interpolate 'https://twitter.com/:scr/status/:tid'
|
||||
~
|
||||
~[scr+a tid+(tid:print b)]
|
||||
--
|
||||
++ parse :: json reparsers
|
||||
|
Loading…
Reference in New Issue
Block a user